package net.wofly.cashier.preorder.service;

import net.wofly.cashier.preorder.domain.BookMealContent;

import java.util.List;


public interface IBookMealContentService {

	/**
	 * 增加或修改
	 * 
	 * @param entity
	 * @return
	 */
	public BookMealContent save(BookMealContent entity);

	/**
	 * 删除
	 * 
	 * @param entity
	 * @return
	 */
	public void delete(BookMealContent entity);

	/**
	 * 根据主键ID删除
	 * 
	 * @param key
	 * @return
	 */
	public void delete(String key);

	/**
	 * 根据主键查询
	 * 
	 * @param key
	 * @return
	 */
	public BookMealContent findOne(String key);
	
	public List<BookMealContent> save(List<BookMealContent> entityList) ;

	List<BookMealContent> findByBookMealID(String bookMealID);
}
